<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<p th:text="${msg}">Welcome to our grocery store!</p>
<p th:inline="text">[[${msg}]] 88888</p>
<!--    <p th:text="${msg}">Welcome to our grocery store!</p>
    <p th:text="${user.id}">aaaa</p>
    <p th:text="${msg2}">Welcome to our grocery store!</p>
    <a href="details.html" th:href="@{/del/{uid}(uid=${user.id})}">view</a>-->

    <!--遍历-->
    <h1>Product list</h1>

<!--    <table>
        <tr>
            <th>id</th>
            <th>username</th>
            <th>操作</th>
        </tr>
        <tr th:each="user : ${users}">
            <td th:text="${user.id}">Onions</td>
            <td th:text="${user.userName}">2.41</td>
            <td>
                <a href="details.html" th:href="@{/toUpdate/{uid}(uid=${user.id})}">修改</a>
            </td>
           &lt;!&ndash; <td th:text="${prod.inStock}? #{true} : #{false}">yes</td>&ndash;&gt;
        </tr>
    </table>-->
<div th:insert="footer :: copy">
    发大水发大水发的算法大神防守打法
</div>

<div th:replace="footer :: copy">
    发大水发大水发的算法大神防守打法
</div>

<!--<p th:if="${not msg}" th:class="${not msg}? 'odd'">Welcome to our grocery store!</p>-->
<p th:class="${msg ne null}? 'odd'">Welcome to our grocery store!</p>
</body>
<style>
    .odd {
        color: red;
        font-size: 100px;
    }
</style>
</html>
